This tutorials shows how to add View in the shape of the Circle.
You can't combine fill and stroke on the same Circle.
Fill
struct ContentView : View {
var body : some View {
Circle()
.fill(Color.green)
.frame(width: 30, height: 30)
}
}
Stroke
struct ContentView : View {
var body : some View {
Circle()
.stroke(Color.green, lineWidth: 2)
.frame(width: 30, height: 30)
}
}
Fill Stroke